package vashion.azeroth.core.personal.tran.dao;

import java.util.List;

import vashion.azeroth.core.dao.BaseDao;
import vashion.azeroth.core.dao.DaoRepository;
import vashion.azeroth.core.personal.tran.pojo.PersonalDisburse;
import vashion.azeroth.core.personal.tran.pojo.PersonalDisburseExt;

@DaoRepository
public interface PersonalDisburseDao extends BaseDao<PersonalDisburse> {
	
	PersonalDisburse getByDisburseNo(String disburseNo);
	
	PersonalDisburse getByDisburseNoWithLock(String disburseNo);
	
	List<PersonalDisburseExt> getDisburseList(PersonalDisburseExt disburse);
    
    int getDisburseListCnt(PersonalDisburse disburse);
    
    List<PersonalDisburseExt> getOrderManagerDisburseList(PersonalDisburseExt disburse);
    
    int getOrderManagerDisburseListCnt(PersonalDisburse disburse);
    
    List<PersonalDisburse> findRecalculateOrder(PersonalDisburse disburse);
}
